import React,{useContext} from 'react';
import {MyContext} from './ContextFather'
const Contextson2 = () => {
  return (
    <div>
      <p>孙组件</p>
      <div>{useContext(MyContext)}</div>
    </div>
  );
}

export default Contextson2;
